package top.aicats.pattern.factory.AbastactFactory;

public class AbstractFactoryTest {
    public static void main(String[] args) {
        AppleFactory factory = new AppleFactory();
        factory.createHardware().makingboard();

        XiaomiFactory xiaomiFactory = new XiaomiFactory();
        xiaomiFactory.createSoftware().analysisDemand();
    }
}
